package com.fzrskj.cloud.free.miniservice.enums;

/**
 * MiniServiceStatus.
 *
 * @author zj.
 *         Created on 2019/5/29 0029.
 */
public enum MiniServiceStatus {
    /**
     * 停用
     */
    STOP(0),
    /**
     * 启用.
     */
    USABLE(1);

    private Integer status;

    MiniServiceStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public Boolean equals(Integer compression) {
        return this.status.equals(compression);
    }
}
